home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
ARGONET
/
SOFTROCK
/
PD
/
VOYREP.ARC
/
Instructs
next >
Wrap
Text File
|
1997-01-13
|
3KB
|
121 lines
VoyRep - NewsAgent Postings Search and Replace
----------------------------------------------
Please note: This is a very temporary and rush written instructions file
- sorry :-(
To Install
----------
1) Put the module, SRSLibrary, in your !System.Modules directory.
2) Edit your !Voyager.Apps.News.!NewsAgent.!Run file as follows...
Insert the following two lines at the very start
RMEnsure SRSLibrary 0.10 RMLoad System:Modules.SRSLibrary
RMEnsure SRSLibrary 0.10 Error You need version 0.10 or higher of SRSLibrary
3) Add the following line to the end of your
!Voyager.Apps.News.!NewsAgent.!NewsAgent file...
Run <NewsAgent$Dir>.NewsRplace
4) Put the Basic program, NewsRplace, and the text file, Searches, in your
!Voyager.Apps.News.!NewsAgent directory.
Setting up Searches
-------------------
The file !Voyager.Apps.News.!NewsAgent.Searches is the key to the search and
replace functions carried out on your outgoing news postings.
It is a script file, instructing the program what it should do, and on what
type of posting. It supports 3 commands...
#allgroups, #newgroup, and #endsearches
#endsearches
- this should be the last line in the file.
#allgroups
- this tells the software that all subsequent searches (up until the next
command) should be carried out on *all* postings, not those limited to a
certain newsgroup.
#newgroup
- this command is used to limit all subsequent searches (up until the next
command) to a specific newsgroup. The format is...
#newgroup:news.group.name
ie the command, followed by a colon, followed by the name of the newsgroup.
eg: #newgroup:argonet.zfc - would limit all searches to posts going to the
newsgroup 'argonet.zfc'
Searches
- each search must be on it's own line and takes the format...
searchfor::replacewith
ie the text to find, and the text to replace it with, separated by a
double colon.
Example Uses
------------
To stop the word computer appearing on the argonet.zfc newsgroup...
#newgroup:argonet.zfc
computer::thingy
Computer::Thingy
This will search for the word computer (and Computer) on any postings to the
zfc newsgroup and replace it with thingy (and Thingy)
To correct an email address according to a 'real name'...
#allgroups
Joe Bloggs <email.1@some.where.com>::Joe Bloggs <email.2@some.where.com>
Note - if the last few characters of the real name are different to the real
name that relates to the email address that is included in the posting,
you could reduce the name in the search (and replace) to just those
characters. Also, if everything after the @ in the email address is the
same in both cases, that part of the address does not have to be
included. So, if the other real name in the above example is John Smith
the example could become...
ggs <email.1@::ggs <email.2@
Suggestion
----------
Where possible, set the searches up so that the replacement text is the same
length as the source text. The program will probably run a little faster.
Copyright
---------
This program is copyright (c)1997 Soft Rock Software/Vince M. Hudd
contact: vince.mh@argonet.co.uk or softrock@argonet.co.uk